package com.liuyucheng.idea_springboot.spring;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author lc
 * @version 1.0
 * @date 2022/10/11 11:38
 */
@Data
@Accessors(chain = true)
public class MyBean {
    private String beanName;
    private String className;

    public MyBean() {
        System.out.println("MyBean构造方法");
    }

    public void init() {
        System.out.println("MyBean初始化完成了");
    }
}



